Resend Invoice
POST /api/v1/Invoice/Resend
Description
This endpoint is used to resend an invoice to the recipient. It expects a ResendInvoice object in the request body. It returns a GuidResponse object containing the result of the operation.
Headers:
- Content-Type: application/json
ApiKey:
- No API key required
Path Parameters:
- version: string, required
Request Body:
- ResendInvoice: object
URL:
- POST:
{{baseUrl API url}}/api/v1/Invoice/Resend
Response:
- A GuidResponse object containing the result of the operation.
Error Codes:
-
400: Bad Request
-
404: Resource not found
-
500: Internal server error
Example Request URL:
POST /api/v1/Invoice/Resend
Content-Type: application/json
{
"invoiceId": "98f2d2e5-6140-4f19-9b58-48c5003e92f7",
"emailAddress": "recipient@example.com"
}
Example Response:
HTTP/1.1 200 OK
{
"guid": "ab04623a-b256-41df-9e8e-bdc5cccf75cb"
}
Method: POST
/api/v1/Invoice/Resend
Headers
| Content-Type | Value |
|---|---|
Content-Type | application/json |
Headers
| Content-Type | Value |
|---|---|
| Accept | text/plain |
Body (raw)
{
"invoiceId": "<uuid>"
}
Response: 200
{
"succeeded": "<boolean>",
"message": "<string>",
"errors": [
"<string>",
"<string>"
],
"data": "<uuid>"
}
LANGUAGE
CURL REQUEST
curl --request POST \
--url /api/v1/Invoice/Resend \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!